package com.dengc.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class GoodsStorageRecord implements Serializable{
    private Integer id;//主键
    private String goodsCode;//商品入库编号
    private String goodsName;//商品名称
    private String goodsDesc;//商品描述
    private String goodsUnit;//商品单位
    private Double goodsCount;//入库数量
    private Double totalAmout;//入库商品总额
    private Integer payStatus;//支付状态(1-未支付，2-已支付)
    private String supplierId;//供货商Id
    private Integer createdUserId;//创建者
    private Date createTime;//创建时间

    @Override
    public String toString() {
        return "GoodsStorageRecord{" +
                "id=" + id +
                ", goodsCode='" + goodsCode + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", goodsUnit='" + goodsUnit + '\'' +
                ", goodsCount=" + goodsCount +
                ", totalAmout=" + totalAmout +
                ", payStatus=" + payStatus +
                ", supplierId='" + supplierId + '\'' +
                ", createdUserId=" + createdUserId +
                ", createTime=" + createTime +
                '}';
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public void setGoodsCount(Double goodsCount) {
        this.goodsCount = goodsCount;
    }

    public void setTotalAmout(Double totalAmout) {
        this.totalAmout = totalAmout;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getId() {
        return id;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public Double getGoodsCount() {
        return goodsCount;
    }

    public Double getTotalAmout() {
        return totalAmout;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public Integer getCreatedUserId() {
        return createdUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }
}
